﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace Station.Common.Rejudgment
{
    /// <summary>
    /// 检测结果信息
    /// </summary>
    public class RectErr
    {
        /// <summary>
        /// 错误名称
        /// </summary>
        public string Name;
        /// <summary>
        /// 得分
        /// </summary>
        public double Score;
        /// <summary>
        /// 尺寸&位置
        /// </summary>
        public Rectangle rect;

        public RectErr DeepCopy()
        {
            RectErr newInstance = new RectErr()
            {
                rect = this.rect,
                Name = this.Name,
                Score = this.Score
            };
            return newInstance;
        }
    }
}
